package com.mengxuegu.common.feign.remote;

import com.mengxuegu.common.feign.pojo.vo.UserMapVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "cloud-ids",path = "/api/user")
public interface IdsUserFeignService {

    @GetMapping("/username/{username}")
    public UserMapVo getUserByUsername(@PathVariable String username);
}
